/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.DTO;
import java.util.*;
/**
 *
 * @author Trung
 */
public class Table {    
    private String name;
    private List<Column> columns;
    private String path;
    //private Vector<Row> rows;
    
    public Table()
    {
        name = "";
        columns = new ArrayList<Column>();   
        path = "";
    }
    
    public Table(String _name, List<Column> _colums, String _path)
    {
        name = _name;
        columns = _colums;
        path = _path;
    }
    
    public Table(Table _table)
    {
        name = _table.name;
        columns = _table.columns;
        path = _table.path;
        
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the columns
     */
    public List<Column> getColumns() {
        return columns;
    }

    /**
     * @param columns the columns to set
     */
    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    /**
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    public void setPath(String path) {
        this.path = path;
    }
}
